﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NoticeTypeList.aspx.cs" Inherits="Things.Web.Bar.NoticeTypeList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table style="width: 100%;" cellpadding="2" cellspacing="1" class="border">
        <tr>
            <td align="left" class="tdbg">
                <asp:Button ID="_ctlBtnAdd" runat="server" Text="添加" onclick="_ctlBtnAdd_Click"></asp:Button>
                <a href="./NoticeList.aspx">信息列表</a>
            </td>
        </tr>
    </table>
    <!--Search end-->
    <br />
    <asp:GridView ID="gridView" runat="server" AllowPaging="True" Width="100%" CellPadding="3"
        BorderWidth="1px" DataKeyNames="ID"
        AutoGenerateColumns="false" PageSize="10"
        RowStyle-HorizontalAlign="Center">
        <Columns>
            <asp:BoundField DataField="Id" HeaderText="GoodsID" SortExpression="GoodsId"
                ItemStyle-HorizontalAlign="Center" Visible="false" />
            <asp:BoundField DataField="Caption" HeaderText="名称"
                ItemStyle-HorizontalAlign="Center" Visible="true" />

            <asp:TemplateField ControlStyle-Width="50" HeaderText="删除" Visible="false">
                <ItemTemplate>
                    <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete"
                        Text="删除"></asp:LinkButton>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    <table border="0" cellpadding="0" cellspacing="1" style="width: 100%;">
        <tr>
            <td style="width: 1px;">
            </td>
            <td align="left">
                <asp:Button ID="btnDelete" runat="server" Text="删除" />
            </td>
        </tr>
    </table>
    </div>
    </form>
</body>
</html>
